<ion-view hide-nav-bar="true">
	<ion-header-bar align-title="center" class="nav-bar-block" nav-bar="active">
	  <div class="buttons">
	    <button ng-click="backMy()" class="button back-button buttons button-clear header-item" style="color: black;">
			<i class="icon ion-ios-arrow-left"></i> 
  			<span class="back-text" style="transform: translate3d(0px, 0px, 0px);">
  				<span class="default-title">资金明细</span>
  			</span>
		</button>
	  </div>
	  <div class="button-bar">

	  </div>
	  <div class="buttons">
	    <button style="background-color: white;border: 0px;" ng-click="oldAccountDetail()">历史账单</button>
	  </div>
	</ion-header-bar>
	
	<ion-content style="padding-top:10px;background-color:#f5f5f5;">
		<ion-list>
			<ion-item class="item-remove-animate item-avatar item-icon-right" ng-repeat="detail in accountDetails" type="item-text-wrap" style="font-size:13px;padding-left: 10px;padding-right: 10px;">
				<div>
					<div>
						<div style="width: 50%;float: left;text-align: left;"><strong>{{detail.eventMemo}}</strong></div>
						<div style="width: 50%;float: left;text-align: right;">
							{{detail.account}}
						</div>
					</div>
					<div>
						<div style="width: 50%;float: left;text-align: left;color:#888888;">余额：{{detail.surplusAccount}}</div>
						<div style="width: 50%;float: left;text-align: right;color:#888888;">{{detail.createTime | date:'yyyy-MM-dd HH:mm:ss'}}</div>
					</div>
				</div>
				
			</ion-item>
			<ion-infinite-scroll ng-if="noMore" on-infinite="loadAccountDetails()" distance="20%"></ion-infinite-scroll>
			
		</ion-list>
	</ion-content>
</ion-view>